Construction Of Dag From Basic Blocks Part I